package com.spike.service;

import com.spike.model.BorrowRecord;
import com.spike.model.BorrowRecordSummary;

import java.util.List;

public interface BorrowService {
    Integer borrow(BorrowRecord borrowRecord);

    Boolean retuenBook(BorrowRecord borrowRecord);

    List<BorrowRecordSummary> findListByUserId(Integer userId);
}
